﻿using System;
using System.Collections.Generic;
using System.Linq;
using Microsoft.Xna.Framework;
using Microsoft.Xna.Framework.Audio;
using Microsoft.Xna.Framework.Content;
using Microsoft.Xna.Framework.GamerServices;
using Microsoft.Xna.Framework.Graphics;
using Microsoft.Xna.Framework.Input;
using Microsoft.Xna.Framework.Media;

namespace Pow
{
    class ObjetoVoador : DrawableGameComponent
    {

        Game1 game;

        public ObjetoVoador(Game game)
        { 
        }


        protected override void LoadContent()
        {
            
        }

        public override void Update(GameTime gameTime)
        {
            base.Update(gameTime);
        }

        public override void Draw(GameTime gameTime)
        {
            game.spriteBatch.Begin();

            for (int i = 0; i < nuvem.Count(); i++)
            {
                Vector2 position = new Vector2(nuvem[i]["x"], nuvem[i]["y"]);
                game.spriteBatch.Draw(texture, position, Color.White);
            }

            game.spriteBatch.End();
        }
    }
}
